package com.example.demo.cart.service;

import com.example.demo.cart.dao.CartDao;
import com.example.demo.cart.po.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;
/**
 * @author Administrator
 */
@Service
public class CartServiceImpl implements CartService{

    @Autowired
    private CartDao cartDao;

    @Override
    public List<User> getUserList() {
        List<User> list = cartDao.getUser();
        return  list;
    }
}
